list

abstract fun list(type: MediaDeviceType): List<MediaDevice>

Returns an immutable list of the details about all the available media input devices of the given type or an empty collection if there are no devices of the given type.

The list of devices is equal to the list you can see after navigating to the WebRTC input-output sample.

Parameters

type

a media input device type

Throws

when the engine is closed